Skip to content

Test Result : ValueField validation: initialValue, touched, empty and mandatory

0 failures
5 tests
Took 74 ms.

All Tests

Test nameDurationStatus
ValueField validation: initialValue, touched, empty and mandatory sets empty to true when value is an empty string (for StringField)14 msPassed
ValueField validation: initialValue, touched, empty and mandatory sets initialValue when markAsSaved is called16 msPassed
ValueField validation: initialValue, touched, empty and mandatory sets touched to true when value is different from initial value15 msPassed
ValueField validation: initialValue, touched, empty and mandatory validate returns not valid when errorStatus is set or field is mandatory and empty16 msPassed
ValueField validation: initialValue, touched, empty and mandatory validate returns valid when errorStatus is not set and field is not mandatory13 msPassed